package woaini.fenger.core.command.system;

import org.springframework.stereotype.Component;
import woaini.fenger.core.bot.event.Messages;
import woaini.fenger.core.bot.session.Session;
import woaini.fenger.core.command.ICmd;
import woaini.fenger.core.command.anno.SubCmd;
import woaini.fenger.core.command.utils.CmdTool;


@Component
public class HelpCmd implements ICmd {
    @Override
    public String masterCmdName() {
        return "帮助";
    }

    @Override
    public String description() {
        return "可以给你一些帮助";
    }

    @SubCmd
    public void help(Session session) {
        session.replyMessage(new Messages().text(CmdTool.buildHelp()));
    }
}
